package com.bootdo.system.service;

import com.bootdo.common.domain.PageDO;
import com.bootdo.common.utils.Query;
import com.bootdo.system.domain.FileAuditDO;
import com.bootdo.system.domain.ReportDo;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2020-09-22 14:53:04
 */
public interface FileAuditService {

	FileAuditDO get(Integer id);
	
	List<FileAuditDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(FileAuditDO audit);
	
	int update(FileAuditDO audit);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

	List<FileAuditDO> listLog(Map<String, Object> map);

	int listLogConut(Map<String, Object> map);

	FileAuditDO getCountAudit(Long auditid);

	int getCountAuditByTime(String time,Long auditid,int auditstate);

	PageDO<FileAuditDO> getAuditLogList(Query query);

	List<FileAuditDO> getFiletypeCount(Long auditid);

	List<ReportDo> reportList(Map<String, Object> map);

	int reportCount(Map<String, Object> map);

	List<ReportDo> typeReportList(Map<String, Object> map);

	int typeReportCount(Map<String, Object> map);

	List<ReportDo> auditReportList(Map<String, Object> map);

	int auditReportCount(Map<String, Object> map);
}
